package com.rd.teacher.jichao.day27.other;

public class Test46 {

    //A. test end
    //B. test exception end
    //C. test
    //D. test runtime end
    static void test() throws RuntimeException {
//        try {
            System.out.print("test ");
            throw new RuntimeException();
//        } catch (Exception ex) {
//            System.out.print("exception ");
//            throw new RuntimeException();
//        }
    }

    public static void main(String[] args) {
        try {
            test();
        } catch (RuntimeException ex) {
            System.out.print("runtime ");
        }
        System.out.print("end ");
    }
}
